package xuankedd;

public class Teacherr extends Jicheng{private String name;
private String age;
private String sex;
private String num;
{{}}
	public  Teacherr(String name,String age,String sex,String num){{
	this.name = name;
	this.age = age;
	this.sex = sex;
	this.num = num;
}}
	
 private int id;
 private String teacherName;
 private Course[] courses;
 //构造函数
 public Teacherr(){
 courses= new Course[3];
 }

 //修改或是添加属性
 public int getId() {
  return id;
 }
 public void setId(int id) {
  this.id = id;
 }
 public String getTeacherName() {
  return teacherName;
 }
 public void setTeacherName(String teacherName) {
  this.teacherName = teacherName;
 }

 }

 